;Loads and execute IVT and pass the control to shell
;    Copyleft 2007  Raja Subramanian <raja.email@gmail.com>
;
;    This program is free software: you can redistribute it and/or modify
;    it under the terms of the GNU General Public License as published by
;    the Free Software Foundation, either version 3 of the License, or
;    (at your option) any later version.
;
;    This program is distributed in the hope that it will be useful,
;    but WITHOUT ANY WARRANTY; without even the implied warranty of
;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;    GNU General Public License for more details.
;
;    You should have received a copy of the GNU General Public License
;    along with this program.  If not, see <http://www.gnu.org/licenses/>.

code SEGMENT
                org 100h
                assume cs:code;ds:code;ds:nothing
begin:          jmp main

main PROC NEAR

                cli
                mov     si,0feeh
                mov     ss,si

                mov     si, 0fffeh

                mov     sp,si
                sti

                mov     ax,0baah
                mov     es,ax
                mov     ax, 0206h
                mov     bx, 100h
                mov     cx, 0002h    ;track,sector
                mov     dx, 0000h    ;head,drive
                int     13h
                push es
                push bx 
                retf
main ENDp
code ENDs
end BEGIN


        
